package ao.erp.service;

import java.util.List;

import ao.erp.model.DataGrid;
import ao.erp.model.DataGridJson;
import ao.erp.model.Role;
import ao.erp.model.ZtreeNode;


public interface RoleServiceI extends BaseServiceI {

	public DataGridJson datagrid(DataGrid dg, Role role);

	public List<ZtreeNode> resourceTree();

	public List<String> getRoleResources(String roleId);

	public void delete(String ids);

	public Role edit(Role role);

	public Role add(Role role);

}
